<?php

namespace app\api\behavior;

//cps订单同步
use app\common\model\User;
use app\shopapi\model\ShopBillsStat;

class CpsOrderSync
{
    public function run(&$params)
    {
        /*//京东cps订单
        //$page = input('page',1);
        $jd_model = new \app\api\model\cps\Jd();
        $jd_model->orderlist(1);

        //拼多多订单
        $pdd_model = new \app\api\model\cps\Pdd();
        $pdd_model->orderlist();

        //美团订单-团购
        $mt_model = new \app\api\model\cps\Mt();
        $mt_model->queryorder(2);
        //美团订单-外卖卡卷
        $mt_model->queryorder(1);

        //滴滴
        $jd_model = new \app\api\model\cps\Didi();
        $jd_model->order();

        //饿了么
        $jd_model = new \app\api\model\cps\Elm();
        $jd_model->order();

        //抖音
        $jd_model = new \app\api\model\cps\Dy();
        $jd_model->order();

        //淘宝客
        $jd_model = new \app\api\model\cps\Tbk();
        $jd_model->neworderlist();

        //唯品会
        $jd_model = new \app\api\model\cps\Wph();
        $jd_model->order();

        //创建订单统计
        ShopBillsStat::add();*/


    }
}
